home *** CD-ROM | disk | FTP | other *** search
/ Interactive Quarterly / The Best of New Machine Publishing 1 - Disc 4: Interactive Quarterly.iso / pc / demos / az / cyberx.dxr / 00086_MOVIMIENTO FRAMES RECORRIDO.ls < prev    next >
Encoding:
Text File  |  1996-10-06  |  601 b   |  30 lines

  1. on exitFrame
  2.   go(the frame)
  3. end
  4.  
  5. on keyDown
  6.   if the keyCode = 124 then
  7.     puppetSprite(23, 1)
  8.     set the castNum of sprite 23 to 2103
  9.     derecha()
  10.   else
  11.     if the keyCode = 123 then
  12.       puppetSprite(22, 1)
  13.       set the castNum of sprite 22 to 2104
  14.       izquierda()
  15.     else
  16.       if the keyCode = 126 then
  17.         puppetSprite(20, 1)
  18.         set the castNum of sprite 20 to 2102
  19.         adelante()
  20.       else
  21.         if the keyCode = 125 then
  22.           puppetSprite(21, 1)
  23.           set the castNum of sprite 21 to 2101
  24.           atras()
  25.         end if
  26.       end if
  27.     end if
  28.   end if
  29. end
  30.